package com.itheima.system.service.impl;

import com.itheima.system.pojo.Question;
import com.itheima.system.service.SystemService;
import org.springframework.stereotype.Component;

/**
 * <dl>
 * <dd>描述: ~节点业务逻辑实现</dd>
 * <dd>创建时间：  10:23 2020/6/23</dd>
 * <dd>创建人： zz</dd>
 * <dt>版本历史: </dt>
 * <pre>
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2020/6/23      guodong       1.0        1.0 Version
 * </pre>
 * </dl>
 */
@Component
public class SystemServiceImpl implements SystemService {

    /**
    * @Date: 10:28 2020/6/23
    * @Param: [question]
    * @return: void
    * @Description: 添加问答失败默认回调
    **/
    @Override
    public String addQuestion(Question question) {
        return "远程调用失败，启用默认方法";
    }
}
